package com.左移时的负数问题;

public class ShiftTest {

	public static void main(String[] args) {
		int n = 1;
		while (n != 0) {
			n = n << 1;
			System.out.println(Integer.toBinaryString(n));
		}

		n = 1;
		System.out.println(n << 33);
	}

}
